<?php
  class subpages_controller_subpages extends Base
  {
      private $sModel; 
      
      public function __construct()
      {
          $this -> sModel = new subpagesQuery();
          parent::__construct();
      }
      
      public function aboutUse()
      {
          $this -> setWhere('2', 'O nas', 'o-nas');
      }
      
      public function regulations()
      {
        $this -> setWhere('2', 'Regulamin', 'regulamin');
      }
      
      public function askQuestion()
      {
            $this -> setWhere('2', 'FAQ', 'zadaj-pytanie');
      }
      
      public function contact()
      {
          $this -> setWhere('2', 'Kontakt', 'kontakt');
      }
  }
?>